.Net Framework > v2.0.50727 > System > Net > Mail > SmtpClient > SmtpClient SmtpClient()
SmtpClient(String)
SmtpClient(String,Int32)


SmtpClient()

Category
Constructor
Description
Initializes a new instance of the System.Net.Mail.SmtpClient class by using configuration file settings.
Type
void
Character
public
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

SmtpClient(String)

Category
Constructor
Description
Initializes a new instance of the System.Net.Mail.SmtpClient class that sends e-mail by using the specified SMTP server.
Type
void
Character
public
Parameters
NameTypeDescription
hostString
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

SmtpClient(String,Int32)

Category
Constructor
Description
Initializes a new instance of the System.Net.Mail.SmtpClient class that sends e-mail by using the specified SMTP server and port.
Type
void
Character
public
Parameters
NameTypeDescription
hostString
portInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database